#include<iostream>
#include<vector>
#include<functional>
#include<algorithm>
#include<numeric>
using namespace std;

void print(int val)
{
	cout << val << endl;
}

void test01()
{
	vector<int>v1;
	for (int i = 0.; i < 10; i++)
	{
		v1.push_back(i);
	}
	fill(v1.begin(), v1.end(), 100);
	for_each(v1.begin(), v1.end(), print);
}

int main()
{
	test01();
	return 0; 
}
  